home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / prg_basi / n_b-v200.zip / NBT1 / DMO / README.PLS < prev    next >
Text File  |  1996-03-11  |  3KB  |  63 lines

  1. $if 0
  2.     ┌──────────────────────────╖                        PowerBASIC v3.20
  3.  ┌──┤          DASoft          ╟──────────────────────┬──────────────────╖
  4.  │  ├──────────────────────────╢    Copyright 1995    │ DATE: 1995-10-01 ╟─╖
  5.  │  │ FILE NAME   README  .PLS ║          by          ╘════════════════─ ║ ║
  6.  │  │                          ║  Don Schullian, Jr.                     ║ ║
  7.  │  ╘══════════════════════════╝                                         ║ ║
  8.  │ A license is hereby granted to the holder to use this source code in  ║ ║
  9.  │ any program, commercial or otherwise,  without receiving the express  ║ ║
  10.  │ permission of the copyright holder and without paying any royalties,  ║ ║
  11.  │ as long as this code is not distributed in any compilable format.     ║ ║
  12.  │  IE: source code files, PowerBASIC Unit files, and printed listings   ║ ║
  13.  ╘═╤═════════════════════════════════════════════════════════════════════╝ ║
  14.    │                ....................................                   ║
  15.    ╘═══════════════════════════════════════════════════════════════════════╝
  16. $endif
  17.  
  18. Welcome to the text package.
  19.  
  20. The 22 files in DAS-NBT0.PBL turn the mouse OFF/ON before/after attacking
  21. the screen. This saves you time and energy remembering to do so in your
  22. programs. The routines in this library are identical to the ones found in
  23. DAS-NBT1.PBL so you have a choice of mouse or no mouse. As DAS-NBT1 also
  24. contains some different functions you will need to load both libraries
  25. in order to get mouse support but only DAS-NBT1 if you don't want the
  26. mouse stuff. This can be done because PowerBASIC searches for functions
  27. in the order you have linked them and the first occurrence is taken so
  28. the mouse package needs to supersede DAS-NBT1 in your program thus:
  29.  
  30.          eg:   $INCLUDE "DAS-NBT0.INC"   ' mouse aware routines
  31.                $INCLUDE "DAS-NBT1.INC"   ' all the other stuff
  32.          ─────────────────────────────────────────────────────────
  33.          eg:   $INCLUDE "DAS-NBT1.INC"   ' no mouse stuff
  34.  
  35. Finally, all the routines in DAS-NBT0 are demonstrated here as they are
  36. identical to those in DAS-NBT1 except for the mouse support.
  37.  
  38. ────────────────────────────────────────────────────────────────────────────
  39.  
  40. While I've got your attention:
  41.  
  42. The .ASM routines that print to, read from, or change the attributes of the
  43. text screen all work on the current APAGE that has been set using the SCREEN
  44. statement and reported in pbvScrnApage. The exception is TBoxCopy which has
  45. the FromPage? and ToPage? parameters.
  46.  
  47. Each and every time you call one of the routines in this library that print
  48. to the screen pbvScrnApage is checked to see if it has changed since the
  49. previous call. If it has then VIDEOsetup is called automatically. As I have
  50. set the default Apage as 255 it's a good bet that VIDEOsetup will be called
  51. the first time the data is needed! The only time you need to call it is if
  52. you change the number of lines on the screen in the middle of the program.
  53.  
  54. ie: If you are working on 25x80 text screen throughout your program then
  55.     don't worry about VIDEOsetup as it's all automatic.
  56.  
  57. ────────────────────────────────────────────────────────────────────────────
  58.  
  59. Well, once again, thanks for joining me. Let's go do the .DMO programs and
  60. have a look at all the goodies!
  61.  
  62.  
  63. d83)